<script setup>
import { onMounted, onBeforeMount } from "vue";
// 挂载之前
onBeforeMount(() => {
  console.log("onBeforeMount");
  debugger;
});

// 挂载之后
onMounted(() => {
  console.log("onMounted");
  debugger;
});
</script>

<template>
  <div>小滴课堂</div>
</template>
